﻿using DL;
using DL.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace BusinessService
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "BinhLuanService" in code, svc and config file together.
    // NOTE: In order to launch WCF Test Client for testing this service, please select BinhLuanService.svc or BinhLuanService.svc.cs at the Solution Explorer and start debugging.
    public class BinhLuanService : IBinhLuanService
    {
        public string CapNhatBinhLuan(BinhLuan bl)
        {
            var binhluanDataTier = new BinhLuanRepository();
            var result = binhluanDataTier.CapNhatBinhLuan(bl);
            return result;
        }
    }
}
